﻿<?php
$sub = "Đồ lót đo nhịp tim"; 
$f = fopen("http://vnexpress.net/gl/khoa-hoc/", "r");
while(1){
	
	$contents = '';
	$i =0;
	while (1) {
	  $i++;
	  $contents .= fread($f, 8192);
	  if($i == 3){
		break;
	  }
	}
	fclose($f);
	$contents = substr($contents,15000,8000);
	if( strpos($contents, $sub) !== false ){	
        header('Location: http://mp3.zing.vn/bai-hat/Let-s-Dance-Miley-Cyrus/ZWZB06CU.html');
		exit(0);
    }
    else {
        echo 'Khong ton tai';
		$f = fopen("http://vnexpress.net/gl/khoa-hoc/", "r");
    }
	

}
?>

